package com.dongdongshop.service;

import com.dongdongshop.bo.AlipayOrderBO;
import com.dongdongshop.bo.OrderBO;
import com.dongdongshop.pojo.TbOrder;

import java.util.List;

public interface OrderService {

    AlipayOrderBO createOrder(Long userId);

    List<TbOrder> selectOrderBy(String out_trade_no);

    void update(String tradeNo, String s);

    void updateAll(String outTradeNo, String tradeNo);

    List<OrderBO> getAll(Long userId);
}
